import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from './api'

Vue.config.productionTip = false

//引入全局css样式表
import './static/css/index.css'

// 引入图标库
import './static/fonts/iconfont.css'

// 全局引入element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.use(ElementUI)

//挂载axios
Vue.prototype.$http = axios

new Vue({
  router,
  store,
  render: function (h) { return h(App) }
}).$mount('#app')
